@import url('https://fonts.googleapis.com/css?family=Roboto:100,100i,300,300i,400,400i,500,500i,700,700i,900,900i');

/*----------------------------------------------------------
GENERAL
----------------------------------------------------------*/

.y-table {
    --default-font-size: 14px;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

.row__title {
    color: #53646f;
    font-weight: 400;
    font-size: 20px;
    margin: 0;
}

.row--top-40 {
    margin-top: 40px;
}

.row--top-20 {
    margin-top: 20px;
}

.table__th {
    color: #9eabb4;
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
    cursor: pointer;
    border: 0 !important;
    padding: 15px 8px !important;
}

.table-row {
    border-bottom: 1px solid #e4e9ea;
    background-color: #fff;
}

.table__th:hover {
    color: #62b6ff;
}

.table--select-all {
    width: 18px;
    height: 18px;
    padding: 0 !important;
    border-radius: 50%;
    border: 2px solid #becad2;
}

.table-row__td {
    padding: 12px 15px !important;
    vertical-align: middle !important;
    color: #53646f;
    font-size: var(--default-font-size);
    font-weight: 400;
    position: relative;
    line-height: 18px !important;
    border: 0 !important;
}

.table-row__img {
    width: 36px;
    height: 36px;
    display: inline-block;
    border-radius: 50%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.table-row__info {
    display: inline-block;
    padding-left: 12px;
    vertical-align: middle;
}

.table-row__time_point {
    color: #53646f;
    font-size: var(--default-font-size);
    font-weight: 400;
    line-height: 18px;
    margin-bottom: 0px;
}

.table-row__small {
    color: #9eabb4;
    font-weight: 300;
    font-size: 12px;
}

.table-row__title {
    color: #53646f;
    font-size: var(--default-font-size);
    font-weight: 400;
    line-height: 18px;
    margin-bottom: 0px;
}

.table-row__subject {
    color: #53646f;
    font-size: var(--default-font-size);
    font-weight: 400;
    line-height: 18px;
    margin-bottom: 0px;
}

.table-row__descript {
    margin-top: 12px;
}

.table-row__priority {
    margin-bottom: 0;
    font-size: 13px;
    vertical-align: middle;
    display: inline-block;
    color: #9eabb4;
}

.table-row__status {
    margin-bottom: 0;
    font-size: 13px;
    vertical-align: middle;
    display: inline-block;
    color: #9eabb4;
}

.table-row__progress {
    margin-bottom: 0;
    font-size: 13px;
    vertical-align: middle;
    display: inline-block;
    color: #9eabb4;
}

.status:before {
    content: '';
    margin-bottom: 0;
    width: 9px;
    height: 9px;
    display: inline-block;
    margin-right: 7px;
    border-radius: 50%;
}

.status--red:before {
    background-color: #e36767;
}

.status--red {
    color: #e36767;
}

.status--blue:before {
    background-color: #3fd2ea;
}

.status--blue {
    color: #3fd2ea;
}

.status--yellow:before {
    background-color: #ecce4e;
}

.status--yellow {
    color: #ecce4e;
}

.status--green {
    color: #6cdb56;
}

.status--green:before {
    background-color: #6cdb56;
}

.status--grey {
    color: #9eabb4;
}

.status--grey:before {
    background-color: #9eabb4;
}

.table__select-row {
    appearence: none;
    -moz-appearance: none;
    -o-appearance: none;
    -webkit-appearance: none;
    width: 17px;
    height: 17px;
    margin: 0 0 0 5px !important;
    vertical-align: middle;
    border: 2px solid #beccd7;
    border-radius: 50%;
    cursor: pointer;
}

.table__select-row:hover {
    border-color: #01b9d1;
}

.table__select-row:checked {
    background-image: url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDI2IDI2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAyNiAyNiIgd2lkdGg9IjE2cHgiIGhlaWdodD0iMTZweCI+CiAgPHBhdGggZD0ibS4zLDE0Yy0wLjItMC4yLTAuMy0wLjUtMC4zLTAuN3MwLjEtMC41IDAuMy0wLjdsMS40LTEuNGMwLjQtMC40IDEtMC40IDEuNCwwbC4xLC4xIDUuNSw1LjljMC4yLDAuMiAwLjUsMC4yIDAuNywwbDEzLjQtMTMuOWgwLjF2LTguODgxNzhlLTE2YzAuNC0wLjQgMS0wLjQgMS40LDBsMS40LDEuNGMwLjQsMC40IDAuNCwxIDAsMS40bDAsMC0xNiwxNi42Yy0wLjIsMC4yLTAuNCwwLjMtMC43LDAuMy0wLjMsMC0wLjUtMC4xLTAuNy0wLjNsLTcuOC04LjQtLjItLjN6IiBmaWxsPSIjMDFiOWQxIi8+Cjwvc3ZnPgo=);
    background-position: center;
    background-size: 7px;
    background-repeat: no-repeat;
    border-color: #01b9d1;
}

.table-row--overdue {
    width: 3px;
    background-color: #e36767;
    display: inline-block;
    position: absolute;
    height: calc(100% - 24px);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.table-row__ellipsis {
    font-size: 24px;
    width: 16px;
    padding: 8px 17px;
    border-radius: 18px;
    vertical-align: middle;
    margin-right: 10px;
    color: #9eabb4;
}

.table-row__edit {
    font-size: 16px;
    width: 30px;
    padding: 8px 17px;
    background-color: #daf3f8;
    border-radius: 10px;
    vertical-align: middle;
    margin-right: 10px;
    text-align: center;
    color: #409EFF;
}

.table-row__bin {
    width: 16px;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
}

.table-row--red {
    background-color: #fff2f2;
}

@media screen and (max-width: 991px) {
    .table__thead {
        display: none;
    }
    .table-row {
        display: inline-block;
        border: 0;
        background-color: #fff;
        width: calc(33.3% - 13px);
        margin-right: 10px;
        margin-bottom: 10px;
    }
    .table-row__img {
        width: 42px;
        height: 42px;
        margin-bottom: 10px;
    }
    .table-row__td:before {
        content: attr(data-column);
        color: #9eabb4;
        font-weight: 500;
        font-size: 12px;
        text-transform: uppercase;
        display: block;
    }
    .table-row__info {
        display: block;
        padding-left: 0;
    }
    .table-row__td {
        display: block;
        text-align: center;
        padding: 8px !important;
    }
    .table-row--red {
        background-color: #fff2f2;
    }
    .table__select-row {
        display: none;
    }
    .table-row--overdue {
        width: 100%;
        top: 0;
        left: 0;
        transform: translateY(0%);
        height: 4px;
    }
}

@media screen and (max-width: 680px) {
    .table-row {
        width: calc(50% - 13px);
    }
}

@media screen and (max-width: 480px) {
    .table-row {
        width: 100%;
    }
}